

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform " /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>
	登录古诗文网
</title>
    <script type="text/javascript">
        if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
            window.location.href = "https://m.gushiwen.cn/app/DefaultGwd.aspx";
        } else {

        }
</script>

    <link href="/user/reg.css" rel="stylesheet" type="text/css" />
    <script src="/js/Code.js" type="text/javascript"></script>

    <style type="text/css">
    
    /*erweima*/
    .hide-centerlogin {
	    width:258px;
	    height:250px;
	    right:0;
	    left:0;
	    bottom:0;
	    top:0;
	    margin:auto;
	    z-index:1;
    }
    .hide-centerlogin #formhead {
	    width:220px;
	    height:52px;
	    margin:0;
	    padding-top:12px;
	    padding-bottom:-30px;
	    border-top-left-radius:10px;
	    border-top-right-radius:10px;
	    background-color:#ffffff;
    }
    .hide-centerlogin #formhead-title {
	    float:left;
	    height:24px;
	    color:#44b449;
	    font-size:18px;
	    font-weight:bold;
	    margin-left:10px;
	    margin-top:5px;
    }
    .hide-centerlogin #formbody {
	    width:220px;
	    height:210px;
	    background-color:#1e1e1e;
	    border-bottom-left-radius:10px;
	    border-bottom-right-radius:10px;
	    background-color:#ffffff;
    }
    .hide-centerlogin #formbody img {
         float:left;
         margin-left:10px;
         border-bottom-left-radius:10px;
	     border-bottom-right-radius:10px;
    }

    </style>

<link href="/css/skinSo220601.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery-3.2.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
    //取得cookie值
    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");

        if (arr = document.cookie.match(reg))

            return unescape(arr[2]);
        else
            return null;
    }

    //判断收藏
    function selectLike(id) {
        document.getElementById('likeImg' + id).name = parseInt(document.getElementById('likeImg' + id).name) + 1;
        if (document.getElementById('likeImg' + id).name == '1') {
            var idsShigeLaiyo = getCookie('idsShiwen2017');
            if (idsShigeLaiyo != null && idsShigeLaiyo != '') {
                var ids = idsShigeLaiyo.split(',');
                for (var i = 0; i < ids.length; i++) {
                    if (ids[i] == id) {
                        document.getElementById('likeImg' + id).src = 'https://song.gushiwen.cn/siteimg/shou-cangok.png';
                        document.getElementById('likeImg' + id).alt = '已收藏';
                        break;
                    }
                }
            }
        }
    }

    //判断收藏名句
    function selectLikeMingju(id) {
        document.getElementById('likeImg' + id).name = parseInt(document.getElementById('likeImg' + id).name) + 1;
        if (document.getElementById('likeImg' + id).name == '1') {
            var idsShigeLaiyo = getCookie('idsMingju2017');
            if (idsShigeLaiyo != null && idsShigeLaiyo != '') {
                var ids = idsShigeLaiyo.split(',');
                for (var i = 0; i < ids.length; i++) {
                    if (ids[i] == id) {
                        document.getElementById('likeImg' + id).src = 'https://song.gushiwen.cn/siteimg/shou-cangok.png';
                        document.getElementById('likeImg' + id).alt = '已收藏';
                        break;
                    }
                }
            }
        }
    }

    //判断收藏作者
    function selectLikeAuthor(id) {
        document.getElementById('likeImg' + id).name = parseInt(document.getElementById('likeImg' + id).name) + 1;
        if (document.getElementById('likeImg' + id).name == '1') {
            var idsShigeLaiyo = getCookie('idsAuthor2017');
            if (idsShigeLaiyo != null && idsShigeLaiyo != '') {
                var ids = idsShigeLaiyo.split(',');
                for (var i = 0; i < ids.length; i++) {
                    if (ids[i] == id) {
                        document.getElementById('likeImg' + id).src = 'https://song.gushiwen.cn/siteimg/shou-cangok.png';
                        document.getElementById('likeImg' + id).alt = '已收藏';
                        break;
                    }
                }
            }
        }
    }

    //判断收藏古籍
    function selectLikeGuwen(id) {
        document.getElementById('likeImg' + id).name = parseInt(document.getElementById('likeImg' + id).name) + 1;
        if (document.getElementById('likeImg' + id).name == '1') {
            var idsShigeLaiyo = getCookie('idsGuji2017');
            if (idsShigeLaiyo != null && idsShigeLaiyo != '') {
                var ids = idsShigeLaiyo.split(',');
                for (var i = 0; i < ids.length; i++) {
                    if (ids[i] == id) {
                        document.getElementById('likeImg' + id).src = 'https://song.gushiwen.cn/siteimg/shou-cangok.png';
                        document.getElementById('likeImg' + id).alt = '已收藏';
                        break;
                    }
                }
            }
        }
    }
    </script>

    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?9007fab6814e892d3020a64454da5a55";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
</script>

</head>
<body onclick="closeshowBos()">
<div class="main1">
    <div class="cont">
        <div class="left">
            <a href="https://www.gushiwen.cn/">古诗文网</a>
        </div>
        <div class="right">
            <div class="son1">
                <a style="margin-left:1px;" href="https://www.gushiwen.cn/">推荐</a>
                   
                  <a href="/shiwens/">诗文</a>
                   
                  <a href="/mingjus/">名句</a>
                   
                  <a href="/authors/">作者</a>
                   
                  <a href="/guwen/">古籍</a>
                  
                  <a href="/user/collect.aspx" rel="nofollow" style="background-color:#757863;border-bottom:3px solid #F0EFE2;line-height:43px; height:43px;">我的</a>
                  
                <a style="width:65px;" href="/app/DefaultGwd.aspx" target="_blank">手机版</a>
            </div>
            <div class="son2">
                <div class="search">
                <form action="/search.aspx" onsubmit="return selectSearch()" contentType="text/html; charset=utf-8">
                    <input onkeydown="noajaxkeyUp()" oninput ="goshowBos()" id="txtKey" name="value" type="text" value="" maxlength="40" autocomplete="off" style="height:25px; line-height:25px; float:left; padding-left:5px; width:260px; font-size:14px; clear:left; border:0px;" />
                    <input style=" display:none;" id='valuej' name="valuej" value="" />
                    <input type="submit" style="float:right; width:24px; height:24px; clear:right; margin-top:2px; margin-right:3px; background-image:url(https://song.gushiwen.cn/siteimg/docSearch.png); background-repeat:no-repeat; background-size:24px 24px; border:0px;cursor:pointer;" value="" />
                    <input id="b" style="display:none;" type="text" />
                </form>
                </div>
                <div id="box"></div>
            </div>
        </div>
    </div>
</div>
        



<form name="aspnetForm" method="post" action="./login.aspx?from=http%3a%2f%2fso.gushiwen.cn%2fuser%2fcollect.aspx" id="aspnetForm" onsubmit="return testFrom()">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="OI29kgFkFclSHry1VNGnV2y2sf/MJk/iM9yVZdTCO2/8/jSKajwOOorOxNe9PjbsT4hXmlsP5TkHSEreenCFkpKFuuhAGGhg22et3OCVROCzmYojYeQDR5wWFuWM73da771gI/DtLh/9NxwAhOKn9Xkozrc=" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C93BE1AE" />
</div>
<div class="mainreg"><span ><b>快捷登录古诗文网（需启用cookie保存登录状态）</b></span>
</div>
<div class="mainreg2">
<div id="leftLogin" style=" width:240px; height:300px; clear:both;margin-top:10px; float:left; margin-right:10px;">
    
 
  <div id="gzherweima" class="overCurtain"></div>
<div class="hide-centerlogin">
    <div id="formhead">
        <div id="formhead-title">
            <span style=" font-size:18px; margin-left:45px;">微信扫码登录</span>
            <span style=" clear:both; color:#999999; font-weight:normal; font-size:12px;margin-left:51px;">首次需关注公众号</span>
        </div>
    </div>
    <div id="formbody">
        <img width="200" height="200" src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQF68DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAydjAybFJGbGVkN2kxbVhlcWh6MVoAAgS7wTJjAwQAjScA" alt="" />
    </div>
</div>

<script>
    var timesRun = 0;
    var intervalErweima = setInterval("selectErweima()", "3000");

    function selectErweima() {
        //60秒后停止
        timesRun = timesRun + 1;
        if (timesRun == 30) {
            $("#leftLogin").fadeOut("slow")
            clearInterval(intervalErweima);
            intervalErweima = null;
        }

        //有二维码才查询自己数据库
        if (getCookie('ticketStr') != null && getCookie('ticketStr').indexOf("|") > 0) {
            var xmlhttp;
            if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
                xmlhttp = new XMLHttpRequest();
            }
            else {// code for IE6, IE5
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            }
            xmlhttp.onreadystatechange = function () {
                if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
                    if (xmlhttp.responseText == "1") {
                    
                        
                        window.location.href = "http://so.gushiwen.cn/user/collect.aspx";
                        
                    
                    }
                }
            }
            xmlhttp.open("POST", "/user/getEventLogin.aspx?scene_id=206055062", false);
            xmlhttp.send();
        }
    }

</script>
  
</div>
<div class="mainreg2" style=" width:600px; float:left;margin:auto;margin-top:10px; clear:none;">
<span>账　号</span>
<input style="display:none;" type="text" id="from" name="from" value="http://so.gushiwen.cn/user/collect.aspx" />
<input type="text" id="email" name="email" onblur="testEmail()" onfocus="onEmial()" style=" height:25px; width:250px; font-size:14px; line-height:25px; padding-left:5px; margin-left:10px; float:left;" maxlength="50" value="邮箱 / 手机号" />
<span id="emailNo" style="color:Red; margin-left:5px; display:none;">ㄨ Email或手机号格式不正确</span>
</div>
<div class="mainreg2" style=" width:600px; float:left;margin:auto;margin-top:10px; clear:none;">
<span>密　码</span>
<input type="password" id="pwd" name="pwd" onblur="testPwd()" onfocus="onPwd()" style=" height:25px; width:250px; font-size:14px; line-height:25px; padding-left:5px; margin-left:10px; float:left;" maxlength="20" value="" />
<span id="pwdNo" style="color:Red; margin-left:5px; display:none;">ㄨ 长度为6~20个字符</span>
</div>
<div class="mainreg2" style=" width:600px; float:left;margin:auto;margin-top:10px; clear:none;">
<span>验证码</span>
<input type="text" id="code" name="code" style=" height:25px; width:52px; font-size:14px; line-height:25px; padding-left:5px; margin-left:10px; float:left;" maxlength="4" value="" />
<img id="imgCode" style="cursor: pointer; float:left; margin-left:5px; margin-top:1px;" width="60" height="27" src="/RandCode.ashx" onclick="GetCodeImg()" alt="看不清，换一张"  />
</div>
<div class="mainreg2" style=" width:600px; float:left;margin:auto;margin-top:10px; clear:none;">
<span style="color:#E1E0C7;">自　动</span>
<a href="/user/findpwd.aspx?from=http://so.gushiwen.cn/user/collect.aspx" style="float:left; margin-top:2px; margin-left:10px; font-size:12px; color:#676767;">找回密码</a>
<a style="float:left; margin-top:1px; margin-left:10px; font-size:12px; color:#676767;">|</a>
<a href="/user/register.aspx?from=http://so.gushiwen.cn/user/collect.aspx" style="float:left; margin-top:2px; margin-left:10px; font-size:12px; color:#676767;">马上注册</a>
</div>
<div class="mainreg2" style=" width:600px; float:left;margin:auto;margin-top:10px; clear:none;">
<span style="color:#E1E0C7;">登　陆</span>
<input type="submit" id="denglu" name="denglu" style=" height:27px; border:0px; width:58px; font-size:14px; line-height:18px; margin-left:10px; float:left; cursor:pointer;background-color:#5d6146;color:#fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;" value="登录" />
</div>
</div>
</form>
<script type="text/javascript">
    var zhanghao = document.getElementById('email');
    if (zhanghao.value == '邮箱 / 手机号') {
        zhanghao.style.color = '#999999';
    }

    function testEmail() {
        if (zhanghao.value == '') {
            zhanghao.value = '邮箱 / 手机号';
            zhanghao.style.color = '#999999';
        }
        var str = document.getElementById('email').value;
        var reg = /^([a-zA-Z0-9]+[_|\_|\.|\-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|\-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
        var reg2 = /^0?1[0-9][0-9]\d{8}$/i;
        if (reg.test(str) || reg2.test(str)) {
            document.getElementById('emailNo').style.display = 'none';
        }
        else {
            document.getElementById('emailNo').style.display = 'block';
        }
    }
    function onEmial() {
        zhanghao = document.getElementById('email');
        if (zhanghao.value == '邮箱 / 手机号') {
            zhanghao.value = '';
            zhanghao.style.color = '#0F0F0F';
        }
        document.getElementById('emailNo').style.display = 'none';
    }

    function testPwd() {
        var str = document.getElementById('pwd').value;
        if (str.length < 6) {
            document.getElementById('pwdNo').style.display = 'block';
        }
        else {
            document.getElementById('pwdNo').style.display = 'none';
        }
    }
    function onPwd() {
        document.getElementById('pwdNo').style.display = 'none';
    }

    function testFrom() {
        var str = document.getElementById('email').value;
        var reg = /^([a-zA-Z0-9]+[_|\_|\.|\-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|\-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
        var reg2 = /^0?1[0-9][0-9]\d{8}$/i;
        if (reg.test(str)==false && reg2.test(str)==false) {
            document.getElementById('emailNo').style.display = 'block';
            return false;
        }

        str = document.getElementById('pwd').value;
        if (str.length < 6) {
            document.getElementById('pwdNo').style.display = 'block';
            return false;
        }
    }
</script>


<div class="main4">
    © 2022 <a href="https://www.gushiwen.cn/">古诗文网</a> | <a href="https://so.gushiwen.cn/shiwens/">诗文</a> | <a href="https://so.gushiwen.cn/mingjus/">名句</a> | <a href="https://so.gushiwen.cn/authors/">作者</a> | <a href="https://so.gushiwen.cn/guwen/">古籍</a> | <a href="/jiucuo.aspx?u=" target="_blank" rel="nofollow">纠错</a>
</div>


<script type="text/javascript">
    window.onload = function () {
        setIframeHeight(document.getElementById('external-frame'));
    };
        </script>

<script defer="defer" src="/js/skinso20220717.js" type="text/javascript"></script>
</body>
</html>
